<template>
	<view class="container">
		<view class="reportView" @click="toFaculty">
			<view class="left">
				<image src="/static/images/faculty.png"></image>
				<text>院系管理</text>
			</view>
			<text>></text>
		</view>
		<view class="reportView" @click="toMajor">
			<view class="left">
				<image src="/static/images/major.png"></image>
				<text>专业管理</text>
			</view>
			<text>></text>
		</view>
		<view class="reportView" @click="toGrade">
			<view class="left">
				<image src="/static/images/grade.png"></image>
				<text>年级管理</text>
			</view>
			<text>></text>
		</view>
		<view class="reportView" >
			<view class="left" @click="toClass">
				<image src="/static/images/class.png"></image>
				<text>班级管理</text>
			</view>
			<text>></text>
		</view>
		<view class="reportView" @click="toTeacher">
			<view class="left">
				<image src="/static/images/teacher.png"></image>
				<text>教师管理</text>
			</view>
			<text>></text>
		</view>
		<view class="reportView" @click="toStudent">
			
			<view class="left">
				<image src="/static/images/student.png"></image>
				<text>学生管理</text>
			</view>
			<text>></text>
		</view>
		<!-- <view class="reportView">
			<image src="/static/images/cert.png"></image>
			<view class="">
				<text>证书管理</text>
			</view>
		</view> -->
	</view>
</template>
<script>
	export default{
		data(){
			return{
			}
		},
		methods:{
			toFaculty(){
				this.$tab.navigateTo(`/pages/school/faculty/index`)
			},
			toMajor(){
				this.$tab.navigateTo(`/pages/school/major/index`)
			},
			toGrade(){
				this.$tab.navigateTo(`/pages/school/grade/index`)
			},
			toStudent(){
				this.$tab.navigateTo(`/pages/school/student/index`)
			},
			toClass(){
				this.$tab.navigateTo(`/pages/school/class/index`)
			},
			toTeacher(){
				this.$tab.navigateTo(`/pages/school/teacher/index`)
			}
		}
	}
</script>

<style lang="scss">
	.container{
		background-color: #fff;
		height: 100vh;
		padding-top: 20px;
		.reportView{
			width: calc(100% - 80rpx);
			display: flex;
			align-items: center;
			line-height: 80rpx;
			margin: 0 auto;
			margin-bottom: 20px;
			display: flex;
			justify-content: space-between;
			padding: 8px;
			border-bottom: 1px solid #EFEEEE;
			text{
				font-size: 14px;
				font-family: Roboto-Bold, Roboto;
				font-weight: bold;
				color: #000000;
			}
			.left{
				display: flex;
				justify-content: flex-start;
				align-items: center;
				text{
					padding-left: 10px;
				}
				image{
					width: 40rpx;
					height: 40rpx;
					margin: 0 20rpx;
				}
			}
			
		}
	}
</style>